package com.chengwang.bookstory.mapper;

import com.chengwang.bookstory.pojo.Manager;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ManagerMapper {
     //注册
     int addManager(Manager manager);
     //更新
     int updateManager(Manager manager);
     //登录
     Manager selectOne(Manager manager);
     List<Manager> queryManager();
}
